package com.alks.function.data.dto.chengKong.produce;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Getter
@Setter
@NoArgsConstructor
@ToString
public class PcLotOutListDto {

    @ApiModelProperty(value = "序号", name = "seqNo")
    private BigDecimal seqNo;

    @ApiModelProperty(value = "指令", name = "lotNo")
    private String lotNo;

    @ApiModelProperty(value = "型体", name = "style")
    private String style;

    @ApiModelProperty(value = "颜色", name = "color")
    private String color;

    @ApiModelProperty(value = "订单数量", name = "totalQty")
    private BigDecimal totalQty;

    @ApiModelProperty(value = "外加工项目", name = "partName")
    private String partName;

    @ApiModelProperty(value = "厂商",name = "vendor")
    private String vendor;

    @ApiModelProperty(value = "外发日期",name = "purDate")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime purDate;

    @ApiModelProperty(value = "是否扣除预补数:1 是;0 否",name = "subSurplusFlag")
    private String subSurplusFlag;

    @ApiModelProperty(value = "单价",name = "price")
    private BigDecimal price;

    @ApiModelProperty(value = "片数",name = "cutNum")
    private BigDecimal cutNum;

    @ApiModelProperty(value = "工艺",name = "process")
    private String process;

    @ApiModelProperty(value = "冲刀号",name = "developmentNo")
    private String developmentNo;

    @ApiModelProperty(value = "备注",name = "purMemo")
    private String purMemo;

    @ApiModelProperty(value = "补料单号",name = "reqNo")
    private String reqNo;

    private List<PcOutSizeListDto> sizeList;
}
